<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>

import BusFactory from 'vue-happy-bus'

export default {
  name: 'App',
  data () {
    return {
      bus: BusFactory(this) // 使用BusFactory将this绑定之后，返回一个 bus，即可无需关心销毁的问题了
    }
  },
  mounted () {
    /*window.addEventListener("resize", ()=>{
      this.bus.$emit('windoResize');
    });*/
  },
  methods: {
    
  }
}
</script>

<style lang="scss">
// @import "./util/reset.css";
@import "./util/base.scss";
@import "./assets/fonts/icon.css";

#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // color: #fff;
  // background: #07102F;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  font-size: 12px;
}
</style>
